package com.ruoyi.member.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.config.annotation.EnableWebSocket;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @Author huang
 * @Date 2023/8/16 14:04
 * @PackageName: com.ruoyi.member.config
 * @ClassName: WebScoketConfig
 * @Description:
 * @Version 1.0
 */
@Configuration
@EnableWebSocket
public class WebScoketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
